package com.jindianjichi.subject.application.convert;

import com.jindianjichi.subject.application.entity.SubjectInfoDTO;
import com.jindianjichi.subject.domain.entity.SubjectInfoBo;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface SubjectInfoDtoConverter {
   SubjectInfoDtoConverter instance= Mappers.getMapper(SubjectInfoDtoConverter.class);
   SubjectInfoBo convertToBoInfo(SubjectInfoDTO subjectInfoDto);
   List<SubjectInfoDTO>convertToDtoInfo(List<SubjectInfoBo> subjectInfoBos);
   SubjectInfoDTO convertToDto(SubjectInfoBo subjectInfoBo);
   List<SubjectInfoDTO> convertToDtoList(List<SubjectInfoBo> subjectInfoBos);
}
